/* 弹窗样式 */
.bookmark-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
}


body[data-theme="dark"] .bookmark-modal {
    background: #444;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}


body[data-theme="dark"] button {
    background: #555;
    border-radius: 5px;
}

body[data-theme="dark"] input:focus {
    background: #777;
    border-color: #1976D2;
    border-radius: 5px;
}

body[data-theme="dark"] input {
    background: #555;
    border-radius: 5px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

.bookmark-modal .modal-content .bookmark-favicon {
    width: 16px;
    height: 16px;
    margin-bottom: 10px;
}

.bookmark-modal.modal-buttons {
    display: flex;
    flex-direction: row;
}

.modal-content input[type="text"] {
    margin-bottom: 10px;
    padding: 5px;
    width: 200px;
}

.modal-content button {
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
}

.modal-content #save-changes {
}

/* 添加遮罩层样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
